<template>
	<view class="u-demo">
		<view class="u-demo-title">
			时代楷模孙景坤
		</view>
		<image src="../../../static/zhihui/lun/W020211220313387314502.png" style="width: 100%;" mode=""></image>
		<view></view>
		<view>
			孙景坤在革命战争年代冲锋陷阵、不怕牺牲。在解放战争中，他先后参加四平战役、辽沈战役、平津战役、解放长沙战役和解放海南岛战役，荣立二等功两次、三等功一次，被授予解放东北纪念章、解放华北纪念章、解放华中南纪念章和解放海南岛纪念章。在抗美援朝战争中，孙景坤参加了一系列战役，特别是在上甘岭战役中英勇作战、坚守阵地，荣获一等功一次、三等功一次，1953年6月被授予抗美援朝一级战士荣誉勋章，同年7月他作为中国人民志愿军回国英雄报告团成员受到了毛泽东等党和国家领导人的亲切接见。2020年10月14日被授予“时代楷模”称号。
		</view>
		<uni-group title="楷模视频">
			<video poster="../../../static/zhihui/lun/W020211220313387314502.png" style="width: 100%;"></video>
		</uni-group>
		<uni-group title="全部评论">
			<view class="comment">
				<view class="left">
					<image src="../../../static/zhihui2/icons/4749c3782fc8b2b61a178faa12baf60.png" mode="aspectFill">
					</image>
				</view>
				<view class="right">
					<view class="top">
						<view class="name">我是大力哈</view>

					</view>
					<view class="content">致敬</view>

					<view class="bottom">
						2012-10-10 10：10
						<view class="reply">回复</view>
					</view>
				</view>
			</view>
			<view class="comment" v-if="tt">
				<view class="left">
					<image src="../../../static/zhihui2/icons/4749c3782fc8b2b61a178faa12baf60.png" mode="aspectFill">
					</image>
				</view>
				<view class="right">
					<view class="top">
						<view class="name">我是大力哈</view>

					</view>
					<view class="content">{{value1}}</view>

					<view class="bottom">
						2012-10-10 10：10
						<view class="reply">回复</view>
					</view>
				</view>
			</view>
		</uni-group>
		<view class="" style="height: 20vh;">

		</view>
		<uni-group style="position: fixed;z-index: 99;right: 0%;bottom: 0%;left: 0%;">
			<view class="u-flex">
				<uni-easyinput v-model="value"></uni-easyinput>
				<button type="primary" @click="ping">发送</button>
			</view>
		</uni-group>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tt: false,
			}
		},
		methods: {
			ping() {
				uni.showToast({
					title: '评论成功'
				})
				this.value1 = this.value
				this.value = ''
				this.tt = true
			}
		}
	}
</script>

<style lang="scss" scoped>
.comment {
	display: flex;
	padding: 30rpx;
	.left {
		image {
			width: 64rpx;
			height: 64rpx;
			border-radius: 50%;
			background-color: #f2f2f2;
		}
	}
	.right {
		flex: 1;
		padding-left: 20rpx;
		font-size: 30rpx;
		.top {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 10rpx;
			.name {
				color: #5677fc;
			}
			.like {
				display: flex;
				align-items: center;
				color: #9a9a9a;
				font-size: 26rpx;
				.num {
					margin-right: 4rpx;
					color: #9a9a9a;
				}
			}
			.highlight {
				color: #5677fc;
				.num {
					color: #5677fc;
				}
			}
		}
		.content {
			margin-bottom: 10rpx;
		}
		.reply-box {
			background-color: rgb(242, 242, 242);
			border-radius: 12rpx;
			.item {
				padding: 20rpx;
				border-bottom: solid 2rpx $u-border-color;
				.username {
					font-size: 24rpx;
					color: #999999;
				}
			}
			.all-reply {
				padding: 20rpx;
				display: flex;
				color: #5677fc;
				align-items: center;
				.more {
					margin-left: 6rpx;
				}
			}
		}
		.bottom {
			margin-top: 20rpx;
			display: flex;
			font-size: 24rpx;
			color: #9a9a9a;
			.reply {
				color: #5677fc;
				margin-left: 10rpx;
			}
		}
	}
}
</style>


